<?php

use think\migration\Seeder;

class SystemKnowledge extends Seeder
{
    /**
     * 知识 - 化学物质
     */
    public function run()
    {
        $table = $this->table('system_knowledge');
        $rows = [
            [
                'name_en'            => 'BC',
                'name_cn'                => '黑炭'
            ],
            [
                'name_en'            => 'CO',
                'name_cn'                => '一氧化炭'
            ],
            [
                'name_en'            => 'NO2',
                'name_cn'                => '氮关化物'
            ],
            [
                'name_en'            => 'OC',
                'name_cn'                => '乳胶试剂'
            ],
            [
                'name_en'            => 'PM10',
                'name_cn'                => '粒径在10微米以下的颗粒物'
            ],
            [
                'name_en'            => 'PM2.5',
                'name_cn'                => '粒径在2.5微米以下的颗粒物'
            ],
            [
                'name_en'            => 'SO2',
                'name_cn'                => '二氧化硫'
            ],
            [
                'name_en'            => 'VOC',
                'name_cn'                => '易化挥的有机物质'
            ],
            [
                'name_en'            => 'CO2',
                'name_cn'                => '二氧化炭'
            ],
            [
                'name_en'            => 'NH3',
                'name_cn'                => '氨气'
            ],
            [
                'name_en'            => 'TSP',
                'name_cn'                => '总悬浮颗粒物'
            ]

        ];
        $table->insert($rows)->save();
    }
}